@layout("/backend/common/_container.html"){
<div class="dhcc-form">
    <form method='post' id="cdcProductInfoForm" name="cdcProductInfoForm" enctype="multipart/form-data">
	
        <#Hidden id="id" value="${cdcProduct.id}"/>

		<#Input id="code" name="代码" value="${cdcProduct.code}"/>
		<#Input id="description" name="描述" value="${cdcProduct.description}"/>
		<#Input id="version" name="版本" value="${cdcProduct.version}"/>
        <#SelectForm id="organizationId" name="所属组织" url="/dept/list" key="id" text="name" hasEmpty="false" width="500px"  value="${cdcProduct.organizationId}"/> 
        <#SwitchBox id="isInputData" name="是否输入数据" value="${cdcProduct.isInputData}" />
		<#SwitchBox id="isOutputData" name="是否输出数据" value="${cdcProduct.isOutputData}" />
        <#SwitchBox id="isHandleData" name="是否处理数据" value="${cdcProduct.isHandleData}" />
        <#SwitchBox id="isActive" name="是否有效" value="${cdcProduct.isActive}" />
        
        <div class="toolbar">
        	<#Button name="保存" id="ensure" icon="icon-w-save" clickFun="CdcProductInfoDlg.editSubmit()"/>
        	<#Button btnCss="l-bt-red" name="关闭" id="cancel" icon="icon-w-close" clickFun="CdcProductInfoDlg.close()"/>
        </div>
    </form>
</div>
<script src="${ctxPath}/static/backend/cdc/cdcproduct/cdcproduct_info.js"></script>
@}
